#include<stdio.h>
#include<math.h>
int main()
{
    int num,i,a;
    scanf("%d",&num);
    a=sqrt(num);
    for(i=2;i<a;i++)
    {        
        if(num%i==0)
            break;
    }    
    i=i-1;
    if(i==a)
        printf("The world is lucky to have you");
    else printf("The world is as good as you wish");
    return 0;
}
